package com.neuedu.outpatient01.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.neuedu.outpatient01.entity.CheckApply;
import com.neuedu.outpatient01.entity.Patientcosts;
import com.neuedu.outpatient01.entity.Register;
import com.neuedu.outpatient01.mapper.CheckApplyMapper;

@Transactional
@Service
public class CheckApplyServiceImpl implements CheckApplyService{
	@Autowired
	private CheckApplyMapper dao;
	
	@Override
	public int insertCheckApply(CheckApply c) {
		// TODO Auto-generated method stub
		return dao.insertCheckApply(c);
	}

	@Override
	public int updateCheckApply(CheckApply c) {
		// TODO Auto-generated method stub
		return dao.updateCheckApply(c);
	}

	@Override
	public int deleteCheckApply(CheckApply c) {
		// TODO Auto-generated method stub
		return dao.deleteCheckApply(c);
	}

	@Override
	public CheckApply inquireCheckApply(CheckApply c) {
		// TODO Auto-generated method stub
		return dao.inquireCheckApply(c);
	}

	@Override
	public List<CheckApply> InquireCheckApply(Register r) {
		// TODO Auto-generated method stub
		return dao.InquireCheckApply(r);
	}

	@Override
	public int insertPatientcosts(Patientcosts p) {
		// TODO Auto-generated method stub
		return dao.insertPatientcosts(p);
	}


}
